package com.mingshashan.building.easy.core.exception;

import lombok.Data;

/**
 * error object
 * 
 * @author jasonxu
 *
 */
@Data
public class EasyErrorObject {
	private int status;
	private String code;
	private String error;
	private String message;
	private String date;
	private String path;
	private String method;

	public EasyErrorObject(int status, String code, String error, String message) {
		this.status = status;
		this.code = code;
		this.error = error;
		this.message = message;
	}
}
